<?php

class Country_Bootstrap extends Engine_Application_Bootstrap_Abstract
{
     
     public function __construct($application) {
		parent::__construct($application);
		
		$this->initViewHelperPath();
        
		//$frontController = Zend_Controller_Front::getInstance();
        //$frontController->registerPlugin( new Country_Plugin_SetParam() );
            
		$view = new Zend_View();
		$view->headScript()
			->appendFile($view->baseUrl() . '/application/modules/Country/externals/scripts/core.js');
		
		$view->headScript()
			->appendFile($view->baseUrl() . '/externals/moolasso/Lasso.js')
			->appendFile($view->baseUrl() . '/externals/moolasso/Lasso.Crop.js')
			->appendFile($view->baseUrl() . '/externals/autocompleter/Observer.js')
			->appendFile($view->baseUrl() . '/externals/autocompleter/Autocompleter.js')
			->appendFile($view->baseUrl() . '/externals/autocompleter/Autocompleter.Local.js')
			->appendFile($view->baseUrl() . '/externals/autocompleter/Autocompleter.Request.js')
			->appendFile($view->baseUrl() . '/externals/tagger/tagger.js')
			->appendFile($view->baseUrl() . '/application/modules/Album/externals/scripts/core.js');
	   
        
	}
    protected function _initFrontController() {

        $front = Zend_Controller_Front::getInstance();
        $front->registerPlugin(new Country_Plugin_SetParam());
        
        
    }
}